﻿
using System;

namespace Sharp.Portal
{
    /// <summary>
    /// 模块编码
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class ModuleCodeAttribute : System.Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ModuleCodeAttribute"/> class.
        /// </summary>
        public ModuleCodeAttribute(string code)
        {
            this.Code = code;
        }

        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
    }
}